package demo7;

import java.util.ArrayList;

public class Test {
    public static void main(String[] args) {
        StudentOperation1 studentOperation1 = new StudentOperation1();
        ArrayList<Student> students = new ArrayList<>();
        students.add(new Student("张三", "男", 100.0));
        students.add(new Student("李四", "女", 10.0));
        students.add(new Student("王二麻子", "男", 50.0));
        studentOperation1.printAllStudentGrade(students);
        studentOperation1.printAverageGrade(students);
    }
}
